/**
*  
* @Function 区域关系实体类 
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.entity    
* @FileName AreaRelationEntity.java    
* @Date 2018年5月30日下午6:00:09
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/  
package com.py.credit.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * 
 * @Function 区域关系实体类
 * @ClassName AreaRelationEntity
 * @Date 2018年5月30日 下午6:00:09
 * @Author Min DongXv
 * 
 */
public class AreaRelationEntity implements Serializable {

	private static final long serialVersionUID = 8070707075345377340L;
	/** 主键 **/
	private long id;
	/** 创建时间 **/
	private Timestamp createTime;
	/** 更新时间 **/
	private Timestamp updateTime;
	/** 删除标识，1：否，2：是 **/
	private int delFlag;
	/** 区域名称 **/
	private String areaName;
	/** 区域编码 **/
	private String areaCode;
	/** 父节点ID **/
	private long parentId;
	/** 所有父节点 **/
	private String allParentId;
	/** 排序 **/
	private int orderBy;
	/** 目录ID */
	private Long contentId;
	/** 资源列表 */
	private List<String> resourceIds;

	public AreaRelationEntity() {
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the createTime
	 */
	public Timestamp getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the updateTime
	 */
	public Timestamp getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime
	 *            the updateTime to set
	 */
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * @return the delFlag
	 */
	public int getDelFlag() {
		return delFlag;
	}

	/**
	 * @param delFlag
	 *            the delFlag to set
	 */
	public void setDelFlag(int delFlag) {
		this.delFlag = delFlag;
	}

	/**
	 * @return the areaName
	 */
	public String getAreaName() {
		return areaName;
	}

	/**
	 * @param areaName
	 *            the areaName to set
	 */
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	/**
	 * @return the areaCode
	 */
	public String getAreaCode() {
		return areaCode;
	}

	/**
	 * @param areaCode
	 *            the areaCode to set
	 */
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	/**
	 * @return the parentId
	 */
	public long getParentId() {
		return parentId;
	}

	/**
	 * @param parentId
	 *            the parentId to set
	 */
	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return the allParentId
	 */
	public String getAllParentId() {
		return allParentId;
	}

	/**
	 * @param allParentId
	 *            the allParentId to set
	 */
	public void setAllParentId(String allParentId) {
		this.allParentId = allParentId;
	}

	/**
	 * @return the orderBy
	 */
	public int getOrderBy() {
		return orderBy;
	}

	/**
	 * @param orderBy
	 *            the orderBy to set
	 */
	public void setOrderBy(int orderBy) {
		this.orderBy = orderBy;
	}

	/**
	 * @return the contentId
	 */
	public Long getContentId() {
		return contentId;
	}

	/**
	 * @param contentId
	 *            the contentId to set
	 */
	public void setContentId(Long contentId) {
		this.contentId = contentId;
	}

	/**
	 * @return the resourceIds
	 */
	public List<String> getResourceIds() {
		return resourceIds;
	}

	/**
	 * @param resourceIds
	 *            the resourceIds to set
	 */
	public void setResourceIds(List<String> resourceIds) {
		this.resourceIds = resourceIds;
	}

	@Override
	public String toString() {
		return "AreaRelationEntity [id=" + id + ", createTime=" + createTime + ", updateTime=" + updateTime
				+ ", delFlag=" + delFlag + ", areaName=" + areaName + ", areaCode=" + areaCode + ", parentId="
				+ parentId + ", allParentId=" + allParentId + ", orderBy=" + orderBy + ", contentId=" + contentId + "]";
	}
}
